package com.mycloud.enums;

import lombok.Getter;

/**
 * Created by PC on 2019/1/5.
 */
@Getter
public enum ResultEnum {

    ORDER_ID_EMPTY(1, "订单主键为空"),
    ORDER_NULL(2,"未查询到订单信息"),
    ORDER_STATUE_ERROR(3,"订单状态有误"),
    ORDER_DETAIL_NULL(4,"订单详情不存在"),
    ;
    private Integer code;
    private String message;

    ResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
